/**
 * Created by GeekSeeker on 14-6-28.
 */
var canvas= document.getElementById('canvas'),
    context=canvas.getContext('2d');
context.font='38px Arial';
context.fillStyle='cornflowerblue';
context.strokeStyle='blue';
context.fillText('Hello Canvas',canvas.width/2-150,canvas.height/2+15);
context.strokeText('Hello Canvas',canvas.width/2-150,canvas.height/2+15);